package com.ziytek.web.citizen.configuration;

import lombok.Getter;

/**
 * @author fenghx
 * @version 1.0
 * @className MySqlMethod
 * Description:
 * @date 2024/3/25 17:16
 */
@Getter
public enum MySqlMethod {
    /****/
    UPDATE_BATCH_BY_ID("updateBatchById", "通过主键批量更新数据", "<script>UPDATE %s \n%s \nWHERE %s IN %s\n</script>");

    private final String method;
    private final String desc;
    private final String sql;

    MySqlMethod(String method, String desc, String sql) {
        this.method = method;
        this.desc = desc;
        this.sql = sql;
    }

}
